package com.zm.demo.spring.configure.metadata;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ConfigureMetadataDemo {

    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath:/META-INF/spring-metadata.xml");
        context.refresh();
        User user = context.getBean("user", User.class);
        System.out.println(user.toString());
        context.close();
    }
}
